<?php
/**
 * Created by PhpStorm.
 * User: Edward
 * Date: 2019/6/5
 * Time: 11:15
 */

namespace app\Validate;


class PasswordValidate extends BaseValidate {
    protected $rule = [
        'password' => 'require',
        'new_password' => 'require',
        'new_password_second' => 'require|confirm:new_password',
    ];
    protected $message = [
        'password' => '原密码',
        'new_password' => '新密码',
        'new_password_second.confirm' => '两次输入的密码不一致',

    ];
}

